<?php

namespace App\Model\DesignPattern\Creational\Behavioral\Visitor;

class Lion
{
    public function roar()
    {
        echo 'Roaaar!';
    }

    public function accept(AnimalOperation $animalOperation)
    {
        $animalOperation->visitLion($this);
    }
}
